/*
 * To change this template, choose Tools | Templates and open the template in
 * the editor.
 */
package tc.maas.eikotrade.connector.connectors;

import java.util.List;
import tc.maas.eikotrade.domain.dataobjects.Item;
import tc.maas.eikotrade.domain.dataobjects.Party;
import tc.maas.eikotrade.domain.dataobjects.Transaction;

/**
 *
 * @author michel
 */
public interface TransactionConnector {
    Transaction createTransaction(Party party, List<Item> items, Transaction.TYPE type);
    void storeTransaction(Transaction transaction);
    Transaction getTransactionByExample(Transaction transaction);
}
